package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.ReproductiveEnjoyManagementDao;
import io.renren.entity.ReproductiveEnjoyManagementEntity;
import io.renren.service.ReproductiveEnjoyManagementService;



@Service("reproductiveEnjoyManagementService")
public class ReproductiveEnjoyManagementServiceImpl implements ReproductiveEnjoyManagementService {
	@Autowired
	private ReproductiveEnjoyManagementDao reproductiveEnjoyManagementDao;
	
	@Override
	public ReproductiveEnjoyManagementEntity queryObject(Integer id){
		return reproductiveEnjoyManagementDao.queryObject(id);
	}
	
	@Override
	public List<ReproductiveEnjoyManagementEntity> queryList(Map<String, Object> map){
		return reproductiveEnjoyManagementDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return reproductiveEnjoyManagementDao.queryTotal(map);
	}
	
	@Override
	public void save(ReproductiveEnjoyManagementEntity reproductiveEnjoyManagement){
		reproductiveEnjoyManagementDao.save(reproductiveEnjoyManagement);
	}

	@Override
	public void update(ReproductiveEnjoyManagementEntity reproductiveEnjoyManagement){
		reproductiveEnjoyManagementDao.update(reproductiveEnjoyManagement);
	}
	
	@Override
	public void delete(Integer id){
		reproductiveEnjoyManagementDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		reproductiveEnjoyManagementDao.deleteBatch(ids);
	}
	
}
